﻿CREATE TABLE [dbo].[Slate] (
    [Id]       UNIQUEIDENTIFIER NOT NULL,
    [EventId]  UNIQUEIDENTIFIER NOT NULL,
    [MemberId] UNIQUEIDENTIFIER NOT NULL,
    [CreateAt] DATETIME2 (3)    NOT NULL,
    [Charge]   MONEY            NOT NULL,
    [Paid]     BIT              NOT NULL,
    [Audit]    INT              NULL,
    CONSTRAINT [PK_Slate] PRIMARY KEY CLUSTERED ([Id] ASC),
    CONSTRAINT [FK_Slate_Event] FOREIGN KEY ([EventId]) REFERENCES [dbo].[Event] ([Id]),
    CONSTRAINT [FK_Slate_Member] FOREIGN KEY ([MemberId]) REFERENCES [dbo].[Member] ([Id])
);











